package com.ifast.car.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.ifast.car.dao.CarPositionDao;
import com.ifast.car.domain.CarPositionDO;
import com.ifast.car.domain.CarPositionDTO;
import com.ifast.car.service.CarPositionService;
import com.ifast.common.base.CoreServiceImpl;

/**
 * 
 * <pre>
 * 车辆位置信息
 * </pre>
 * <small> 2018-04-11 17:16:52 | lvyq</small>
 */
@Service
public class CarPositionServiceImpl extends CoreServiceImpl<CarPositionDao, CarPositionDO> implements CarPositionService {

	@Autowired
	CarPositionDao carPositionDao;
	
	@Override
	public List<Map<String,Object>> getCarPositionByMobile(String mobile) {
		return carPositionDao.getCarPositionByMobile(mobile);
	}

	@Override
	public Long getId() {
		return carPositionDao.getId();
	}

	@Override
	public List<CarPositionDTO> getCarPosition(CarPositionDTO carPositionDTO) {
		return carPositionDao.getCarPosition(carPositionDTO);
	}

}
